  /**
 * 
 *               Copyright (c) 2010 by Anoln 
 *
 * All rights reserved.  These materials are confidential and
 * proprietary to NCS. and no part of these materials
 * should be reproduced, published in any form by any means, 
 * electronic or mechanical, including photocopy or any
 * Information storage or retrieval system nor should the
 * materials be disclosed to third parties without the express
 * written authorization of BALANCE.
 *
 *<Class Description>
 *
 *
 *<Module Name>
 *
 *
 *<Change Revision>
 *====================================================
 *Date                 Author                Remarks
 *
*/

package com.balance.anole.admin.to;

import java.util.Set;

import com.balance.anole.business.to.BusinessDateTO;
import com.balance.anole.common.to.BaseTO;

public class LoginUserTO extends BaseTO implements Cloneable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8362971812114235667L;

	private StaffInfoTO staffInfo;
	private String password;
	private BusinessDateTO synBusinessDate;
	private Set<GroupTO> groups;

	public StaffInfoTO getStaffInfo() {
		return staffInfo;
	}
	public void setStaffInfo(StaffInfoTO staffInfo) {
		this.staffInfo = staffInfo;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public BusinessDateTO getSynBusinessDate() {
		return synBusinessDate;
	}
	public void setSynBusinessDate(BusinessDateTO synBusinessDate) {
		this.synBusinessDate = synBusinessDate;
	}
	public Set<GroupTO> getGroups() {
		return groups;
	}
	public void setGroups(Set<GroupTO> groups) {
		this.groups = groups;
	}
	
	public LoginUserTO clone(){
		LoginUserTO user = null;
		try {
			user = (LoginUserTO)super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return user;
	}
}
